<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>SystemSharp: SystemSharp.Interop.Mentor.ModelsimProject Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">SystemSharp
   &#160;<span id="projectnumber">0.3</span>
   </div>
   <div id="projectbrief">A system-level modeling framework for designing real-time embedded systems</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_system_sharp_1_1_interop_1_1_mentor_1_1_modelsim_project.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Properties</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Events</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#properties">Properties</a> &#124;
<a href="class_system_sharp_1_1_interop_1_1_mentor_1_1_modelsim_project-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">SystemSharp.Interop.Mentor.ModelsimProject Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Represents a Modelsim or Questa (<a class="el" href="namespace_system_sharp_1_1_interop_1_1_mentor.html">Mentor</a> Graphics) project output.  
 <a href="class_system_sharp_1_1_interop_1_1_mentor_1_1_modelsim_project.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for SystemSharp.Interop.Mentor.ModelsimProject:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_system_sharp_1_1_interop_1_1_mentor_1_1_modelsim_project.png" usemap="#SystemSharp.Interop.Mentor.ModelsimProject_map" alt=""/>
  <map id="SystemSharp.Interop.Mentor.ModelsimProject_map" name="SystemSharp.Interop.Mentor.ModelsimProject_map">
<area href="interface_system_sharp_1_1_synthesis_1_1_i_project.html" title="Interface for project generators. " alt="SystemSharp.Synthesis.IProject" shape="rect" coords="0,0,270,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a9886a2caab285f89dd2a8ea2aed078a1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_interop_1_1_mentor_1_1_modelsim_project.html#a9886a2caab285f89dd2a8ea2aed078a1">ModelsimProject</a> (string path, string name)</td></tr>
<tr class="memdesc:a9886a2caab285f89dd2a8ea2aed078a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a new Modelsim/Questa target project.  <a href="#a9886a2caab285f89dd2a8ea2aed078a1">More...</a><br/></td></tr>
<tr class="separator:a9886a2caab285f89dd2a8ea2aed078a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3f59bc066eabc171a4ac1b503cf01a3"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_interop_1_1_mentor_1_1_modelsim_project.html#ac3f59bc066eabc171a4ac1b503cf01a3">MakeFullPath</a> (string file)</td></tr>
<tr class="memdesc:ac3f59bc066eabc171a4ac1b503cf01a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts a file name to a full output path.  <a href="#ac3f59bc066eabc171a4ac1b503cf01a3">More...</a><br/></td></tr>
<tr class="separator:ac3f59bc066eabc171a4ac1b503cf01a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b890cb124bcb7f8ccb3a03bfdd86e90"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_interop_1_1_mentor_1_1_modelsim_project.html#a4b890cb124bcb7f8ccb3a03bfdd86e90">AddFile</a> (string name)</td></tr>
<tr class="memdesc:a4b890cb124bcb7f8ccb3a03bfdd86e90"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a file to the project  <a href="#a4b890cb124bcb7f8ccb3a03bfdd86e90">More...</a><br/></td></tr>
<tr class="separator:a4b890cb124bcb7f8ccb3a03bfdd86e90"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a27c789c0e05f3fdd72ed4955fda146d5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_interop_1_1_mentor_1_1_modelsim_project.html#a27c789c0e05f3fdd72ed4955fda146d5">AddFileAttribute</a> (string name, object attr)</td></tr>
<tr class="memdesc:a27c789c0e05f3fdd72ed4955fda146d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Attaches an arbitrary attribute to a project file.  <a href="#a27c789c0e05f3fdd72ed4955fda146d5">More...</a><br/></td></tr>
<tr class="separator:a27c789c0e05f3fdd72ed4955fda146d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a7e93fed14e9a13bbc27045507cf201"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_interop_1_1_mentor_1_1_modelsim_project.html#a9a7e93fed14e9a13bbc27045507cf201">Save</a> ()</td></tr>
<tr class="memdesc:a9a7e93fed14e9a13bbc27045507cf201"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a .do TCL script which will setup a ModelSim/Questa project upon execution inside the simulator.  <a href="#a9a7e93fed14e9a13bbc27045507cf201">More...</a><br/></td></tr>
<tr class="separator:a9a7e93fed14e9a13bbc27045507cf201"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="properties"></a>
Properties</h2></td></tr>
<tr class="memitem:ac40a793a2fbc1702ef8bf17a433efb78"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_interop_1_1_mentor_1_1_modelsim_project.html#ac40a793a2fbc1702ef8bf17a433efb78">ProjectPath</a><code> [get]</code></td></tr>
<tr class="memdesc:ac40a793a2fbc1702ef8bf17a433efb78"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the output path of the project.  <a href="#ac40a793a2fbc1702ef8bf17a433efb78">More...</a><br/></td></tr>
<tr class="separator:ac40a793a2fbc1702ef8bf17a433efb78"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Represents a Modelsim or Questa (<a class="el" href="namespace_system_sharp_1_1_interop_1_1_mentor.html">Mentor</a> Graphics) project output. </p>
<p>This class will not create a Modelsim/Questa project file. Instead, it will create a .do TCL script which is supposed to be executed inside the simulation environment. The script will create a new project and add all necessary sources. Modelsim, Questa and <a class="el" href="namespace_system_sharp_1_1_interop_1_1_mentor.html">Mentor</a> Graphics are registered trademarks. </p>

<p>Definition at line <a class="el" href="_modelsim_project_8cs_source.html#l00038">38</a> of file <a class="el" href="_modelsim_project_8cs_source.html">ModelsimProject.cs</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a9886a2caab285f89dd2a8ea2aed078a1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SystemSharp.Interop.Mentor.ModelsimProject.ModelsimProject </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>path</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>name</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constructs a new Modelsim/Questa target project. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">path</td><td>The output path of the project.</td></tr>
    <tr><td class="paramname">name</td><td>The name of the project.</td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_modelsim_project_8cs_source.html#l00056">56</a> of file <a class="el" href="_modelsim_project_8cs_source.html">ModelsimProject.cs</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a4b890cb124bcb7f8ccb3a03bfdd86e90"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string SystemSharp.Interop.Mentor.ModelsimProject.AddFile </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds a file to the project </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>The file name (including proper extension)</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>its output path</dd></dl>

<p>Implements <a class="el" href="interface_system_sharp_1_1_synthesis_1_1_i_project.html#a94710e19e54455b2b5254d0efbb00364">SystemSharp.Synthesis.IProject</a>.</p>

<p>Definition at line <a class="el" href="_modelsim_project_8cs_source.html#l00090">90</a> of file <a class="el" href="_modelsim_project_8cs_source.html">ModelsimProject.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a27c789c0e05f3fdd72ed4955fda146d5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SystemSharp.Interop.Mentor.ModelsimProject.AddFileAttribute </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>attr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Attaches an arbitrary attribute to a project file. </p>
<p>Currently, the method is interested in attributes of type IPackageOrComponentDescriptor (in order to determine the compilation order) and in attributes of type LibraryName (in order to determine the library namespace of project files). All other attributes are ignored.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>The file name (including proper extension)</td></tr>
    <tr><td class="paramname">attr</td><td>An object which represents the attribute</td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="interface_system_sharp_1_1_synthesis_1_1_i_project.html#ad0799798a15eff78f2e8856d8e3a9ea7">SystemSharp.Synthesis.IProject</a>.</p>

<p>Definition at line <a class="el" href="_modelsim_project_8cs_source.html#l00104">104</a> of file <a class="el" href="_modelsim_project_8cs_source.html">ModelsimProject.cs</a>.</p>

</div>
</div>
<a class="anchor" id="ac3f59bc066eabc171a4ac1b503cf01a3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string SystemSharp.Interop.Mentor.ModelsimProject.MakeFullPath </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>file</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Converts a file name to a full output path. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">file</td><td>a file name</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>its output path</dd></dl>

<p>Definition at line <a class="el" href="_modelsim_project_8cs_source.html#l00080">80</a> of file <a class="el" href="_modelsim_project_8cs_source.html">ModelsimProject.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a9a7e93fed14e9a13bbc27045507cf201"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SystemSharp.Interop.Mentor.ModelsimProject.Save </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates a .do TCL script which will setup a ModelSim/Questa project upon execution inside the simulator. </p>

<p>Implements <a class="el" href="interface_system_sharp_1_1_synthesis_1_1_i_project.html#a76c7ae44e8b1ebe871029d206bb3fc8e">SystemSharp.Synthesis.IProject</a>.</p>

<p>Definition at line <a class="el" href="_modelsim_project_8cs_source.html#l00173">173</a> of file <a class="el" href="_modelsim_project_8cs_source.html">ModelsimProject.cs</a>.</p>

</div>
</div>
<h2 class="groupheader">Property Documentation</h2>
<a class="anchor" id="ac40a793a2fbc1702ef8bf17a433efb78"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">string SystemSharp.Interop.Mentor.ModelsimProject.ProjectPath</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the output path of the project. </p>

<p>Definition at line <a class="el" href="_modelsim_project_8cs_source.html#l00071">71</a> of file <a class="el" href="_modelsim_project_8cs_source.html">ModelsimProject.cs</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="_modelsim_project_8cs_source.html">ModelsimProject.cs</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespace_system_sharp.html">SystemSharp</a></li><li class="navelem"><a class="el" href="namespace_system_sharp_1_1_interop.html">Interop</a></li><li class="navelem"><a class="el" href="namespace_system_sharp_1_1_interop_1_1_mentor.html">Mentor</a></li><li class="navelem"><a class="el" href="class_system_sharp_1_1_interop_1_1_mentor_1_1_modelsim_project.html">ModelsimProject</a></li>
    <li class="footer">Generated on Thu Dec 26 2013 14:22:08 for SystemSharp by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
  </ul>
</div>
</body>
</html>
